package common.dto;


import cn.hutool.core.lang.Console;
import common.enums.CouponChannel;
import common.enums.CouponUseType;
import common.interfaceClass.WatchOut;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 背包优惠券vo
 *
 * @author 10040 xiey
 * @create 2017/12/28 10:11
 */
@Data
public class CouponPkgRespVo implements Serializable {

    private Long id;

    private String couponCode;

    private Long couponId;

    private CouponUseType useType;

    /**
     * 优惠券名称
     */
    private String name;
    /**
     * 优惠券类型跟门槛
     */
    private String type_floorSill;
    /**
     * 面额
     */
    private Integer denomination;
    /**
     * 生效时间
     */
    private Timestamp effectiveTime;
    /**
     * 失效时间
     */
    private Timestamp loseTime;

    private int loseType;

    private int days;

    /**
     * 是否即将过期
     */
    private Boolean warn;

    /**
     * 门槛
     */
    private Integer floorSill;

    /**
     * 优惠卷品类
     */
    @Deprecated
    private String couponCategoryName;

    /**
     * 优惠卷描述
     */
    private String couponDescribe;

    /**
     * 优惠卷显示颜色
     */
    @Deprecated
    private String couponColor;

    /**
     * 商品集合
     */
    private List<Long> products;

    /**
     * 商品分类名称
     */
    @Deprecated
    private String productTypeName;

    private CouponChannel couponChannel;

    private String giverPhone;

    private Timestamp createTimestamp;


    public void la() {

    }


    public void see() {
        Console.error("--> 调用了 See 方法！ ");
    }
}
